/DIV>
GetWindowPropertySize
Obtains the size of a piece of data that is associated with a window.
pascal OSStatus GetWindowPropertySize (
WindowPtr window,
PropertyCreator creator,
PropertyTag tag,
UInt32 *size);
-
window
-
A value of type
WindowPtr
. Pass a pointer to the window to be examined for associated data.
-
creator
-
A four-character code. Pass the creator code (typically, the application's signature) of the associated data whose size is to be obtained.
-
tag
-
A four-character code. Pass the application-defined code identifying the associated data whose size is to be obtained.
-
size
-
A pointer to a value that, on return, specifies the size of the associated data.
-
function result
-
A result code. See
Result Codes.
DISCUSSION
If you want to retrieve a piece of associated data with the
GetWindowProperty
function, you typically need to use the
GetWindowPropertySize
function to determine the size of the data beforehand.
VERSION NOTES
Available with Mac OS 8.5 and later.
© 1999 Apple Computer, Inc. – (Last Updated 18 March 99)